<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{@$pageTitle@}</title>
{#include file="Public:head" /#}
</head>
<body id="mainBody">
<div id="all">
  {#rabbet id="tips" /#}
  <div class="box3 w pr">
    <div class="box3_wrap">
      <div class="box3_top">
        <h4 class="pl10 fb">管理组管理</h4>
        <div class="funcBox">
          <input type="button" value="添加管理组" onclick="location.replace('admin.php?m=admin&a=groupadd&url={@$activeUrl@}');" class="btn1" />
        </div>
      </div>
      <div class="box3_main">
        <form action="" name="editForm" method="post">
          <table class="table3 w rowPoint">
            <thead>
            <tr class="fb">
              <th width="80">排序</th>
              <th width="80">ID</th>
              <th width="160" class="tl">管理组</th>
              <th width="200" class="tl">操作</th>
              <th></th>
            </tr>
            </thead>
            <tbody>
            {#volist name="list" id="data"#}
            <tr>
              <td class="tc"><input type="text" name="sequence[{@$data.id@}]" class="input1 w30 tc" value="{@$data.sequence@}" /></td>
              <td class="tc">{@$data.id@}</td>
              <td>{@$data.group_name@}</td>
              <td><a href="admin.php?m=admin&a=groupedit&id={@$data.id@}&url={@$activeUrl@}">编辑管理组</a>
                {#notin name="data.id" value="$sysClassId"#}| <a href="admin.php?m=admin&a=groupdelete&id={@$data.id@}&url={@$activeUrl@}" onclick="return confirm('确认要执行删除操作吗？继续，将删除该管理组。');">删除管理组</a>{#/notin#}</td>
              <td></td>
            </tr>
            {#/volist#}
            </tbody>
          </table>
          <div class="manage1"><input type="button" id="enterResponse" onclick="btnSubmit('form[name=editForm]', 'admin.php?m=admin&a=groupsequence&url={@$activeUrl@}');" value="提交保存" class="btn2" /></div>
        </form>
      </div>
    </div>
    <div class="box3_lt pa"></div>
    <div class="box3_rt pa"></div>
  </div>
</div>
</body>
</html>
